package com.sgb.kjwl.view.ui.adapter.machine;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.LeasePublishEntity;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import com.swgk.core.recyclerview.adapter.PageRecycleAdapter;

import java.util.List;

public class LeasePublishPopAdapter extends PageRecycleAdapter<LeasePublishEntity> {

    public LeasePublishPopAdapter(Context context, List<LeasePublishEntity> datas) {
        super(context, R.layout.item_publish_pop_lease, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, LeasePublishEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
